package com.firstgroup.repository;

import com.firstgroup.domain.Comment;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface CommentRepository extends JpaRepository<Comment,Integer> {


    List<Comment> findByInterviewrIdAndState(Integer interviewerId,String state);

    List<Comment> findByInterviewrId(int interviewId);
}

